<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" dir="ltr" >
<head>
  <base  />
  <?php include_title() ?>
  <link href="/images/favicon.ico" rel="shortcut icon" type="/image/vnd.microsoft.icon" />
  <link rel="stylesheet" href="/css/compressed.css" type="text/css" />
  <link rel="stylesheet" href="/css/print.css" type="text/css" media="Print" />
  <link href='http://fonts.googleapis.com/css?family=Raleway:100&v1' rel='stylesheet' type='text/css'>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body class="first ">
<div id="all" class="" style="background:none;">
   
  <div class="main">
    <div id="header">
      <div class="logoheader">
               <h2><div style="float:left;">Sanzinia Films</div> <span style="float:left; margin-left: 10px; margin-top: 7px;">Producciones audiovisuales</span></h2>
                            
      </div>
      <!-- end logoheader -->
      <?php $routeName = sfContext::getInstance()->getRouting()->getCurrentRouteName() ?>
	  <div class="navigation" style="margin-top: 38px;">
        <!-- debut maximenu_CK, par cedric keiflin sur http://www.joomlack.fr -->
<div class="maximenuCKH" id="maximenuCK">
    <div class="maxiRoundedleft"></div>
    <div class="maxiRoundedcenter">
	<ul class="menu maximenuCK">
		<li class="maximenuCK item464 level0" style="z-index : 12000;"><?php echo link_to('<span class="titreCK">Inicio</span>', '@homepage', 'class="maximenuCK"') ?>
		</li>
		
<?php if ($routeName=='trayectoria'): ?>	
<li class="maximenuCK current active level0" style="z-index : 11992;"><?php echo link_to('<span class="titreCK">Trayectoria</span>', '@trayectoria', 'class="maximenuCK"') ?></li>
<?php else: ?>
<li class="maximenuCK level0" style="z-index : 11992;"><?php echo link_to('<span class="titreCK">Trayectoria</span>', '@trayectoria', 'class="maximenuCK"') ?></li>
<?php endif ?>

<?php if (strpos($sf_request->getUri(), '/fotos') || $routeName=='album'): ?>
<li class="maximenuCK current active level0" style="z-index : 11993;"><?php echo link_to('<span class="titreCK">Galeria de fotos</span>', '/fotos/index', 'class="maximenuCK"') ?></li>
<?php else: ?>
<li class="maximenuCK level0" style="z-index : 11993;"><?php echo link_to('<span class="titreCK">Galeria de fotos</span>', '/fotos/index', 'class="maximenuCK"') ?></li>
<?php endif ?>

<?php if ($routeName=='cortos'): ?>
	<li class="maximenuCK current active level0" style="z-index : 11994;"><?php echo link_to('<span class="titreCK">Cortometrajes</span>', '@cortos', 'class="maximenuCK"') ?></li>
<?php else: ?>
	<li class="maximenuCK level0" style="z-index : 11994;"><?php echo link_to('<span class="titreCK">Cortometrajes</span>', '@cortos', 'class="maximenuCK"') ?></li>
<?php endif ?>

<?php if ($routeName=='series'): ?>
	<li class="maximenuCK current active level0" style="z-index : 11994;"><?php echo link_to('<span class="titreCK">Series</span>', '@series', 'class="maximenuCK"') ?></li>
<?php else: ?>
	<li class="maximenuCK level0" style="z-index : 11994;"><?php echo link_to('<span class="titreCK">Series</span>', '@series', 'class="maximenuCK"') ?></li>
<?php endif ?>

<?php if ($routeName=='contacto' || $routeName=='enviado'): ?>
<li class="maximenuCK current active level0" style="z-index : 11990;"><?php echo link_to('<span class="titreCK">Contacto</span>', '@contacto', 'class="maximenuCK"') ?></li>	
<?php else: ?>
<li class="maximenuCK level0" style="z-index : 11990;"><?php echo link_to('<span class="titreCK">Contacto</span>', '@contacto', 'class="maximenuCK"') ?></li>	
<?php endif ?>

</ul>
    </div>
    <div class="maxiRoundedright"></div>
    <div style="clear:both;"></div>
</div>
<div style="clear:both;"></div>
<!-- fin maximenuCK -->
	
      </div>
    </div>
        <div class="cont-bg"></div>
        <!-- end header -->
    <div id="content"><div class="top-line-trayectoria">
      <div class="wrapper">
	  <?php echo $sf_content ?>
                <div id="sidebar" class="left">
        </div>
      </div>
    </div>
    </div>
        </div>
		<?php include_partial('global/footer') ?>
</div>
  <script src="/js/mootools-core.js" type="text/javascript"></script>
  <script src="/js/caption.js" type="text/javascript"></script>
  <script src="/js/mootools-more.js" type="text/javascript"></script>
  <script src="/js/moo_maximenu_CK.js" type="text/javascript"></script>
  <script src="/js/jquery-1.4.2.min.js"></script>
  <script src="/js/jquery.colorbox-min.js" type="text/javascript"></script>
  <script type="text/javascript" src="/js/html5.js"></script>
  <script type="text/javascript" src="/js/jquery.easing.1.3.js"></script>
  <script type="text/javascript" src="/js/cufon-yui.js"></script>
  <script type="text/javascript" src="/js/cufon-replace.js"></script>
  <script type="text/javascript" src="/js/Aller_700.font.js"></script>
  <script type="text/javascript" src="/js/Aller_400.font.js"></script>
  <script type="text/javascript" src="/js/tiny.js"></script>
<script type="text/javascript">
var $j = jQuery.noConflict();

$j(window).load(function(){
	$login=$j(".menu-login li a[title='login']");
	$login.toggle(function(){$login.addClass("active"); $j(".moduletable-log").slideDown(500, "easeOutBounce");}, 
				  function(){$login.removeClass("active"); $j(".moduletable-log").slideUp("normal");
	});
	$j('#carousel').bxCarousel({
			display_num: 3,
			move: 1,
			margin: 0,
			auto: true,
			auto_interval: 6000
		});
});

		window.addEvent('domready', function() {
			$$('.hasTip').each(function(el) {
				var title = el.get('title');
				if (title) {
					var parts = title.split('::', 2);
					el.store('tip:title', parts[0]);
					el.store('tip:text', parts[1]);
				}
			});
			var JTooltips = new Tips($$('.hasTip'), { maxTitleChars: 50, fixed: false});
		});
function keepAlive() {	var myAjax = new Request({method: "get", url: "index.php"}).send();} window.addEvent("domready", function(){ keepAlive.periodical(840000); });
window.addEvent('domready', function() {new DropdownMaxiMenu(document.getElement('div#maximenuCK'),{mooTransition : 'Quad',mooEase : 'easeOut',useOpacity : '0',dureeOut : 500,menuID : 'maximenuCK',testoverflow : '0',orientation : '0',mooDuree : 500});});

            jQuery.noConflict();
			(function($) {
			//Examples of how to assign the ColorBox event to elements
			jQuery("a[rel='example1']").colorbox();
			
				$('.scrollPage').click(function() {
				   var elementClicked = $(this).attr("href");
				   var destination = $(elementClicked).offset().top;
				   $("html:not(:animated),body:not(:animated)").animate({ scrollTop: destination-20}, 500 );
				   return false;
				});
				
				$(window).scroll(function(e){ 
  $el = $('.fixedElement'); 
  if ($(this).scrollTop() > 200 && $el.css('position') != 'fixed'){ 
    $('.fixedElement').css({'position': 'fixed', 'top': '0px'}); 
  }
 
});
            })(jQuery);
			
			
        
  </script>
<script type="text/javascript"> Cufon.now(); </script>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-27782073-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</body>
</html>
